-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emit a warning if botocore/boto3 versions don't meet our supported minimums and remove tests for old versions #442
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansibullbot
added
WIP
Work in progress
feature
This issue/PR relates to a feature request
module
module
module_utils
module_utils
needs_triage
plugins
plugin (any type)
labels
Aug 5, 2021
tremble
changed the title
[WIP] Emit a warning if botocore/boto3 versions don't meet our supported minimums
Emit a warning if botocore/boto3 versions don't meet our supported minimums and remove tests for old versions
Aug 6, 2021
alinabuzachis
approved these changes
Aug 6, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
ansible-zuul bot
added a commit
to ansible-collections/community.aws
that referenced
this pull request
Aug 10, 2021
Cleanup boto3/botocore dependencies - remove tests for unsupported versions SUMMARY Testing for boto3/botocore support on specific functions is very inconsistent. Now that we have minimum supported versions we can drop the tests for previous versions. ISSUE TYPE Feature Pull Request COMPONENT NAME plugins/modules/aws_eks_cluster.py plugins/modules/aws_msk_cluster.py plugins/modules/aws_msk_config.py plugins/modules/cloudformation_stack_set.py plugins/modules/dynamodb_table.py plugins/modules/dynamodb_ttl.py plugins/modules/ec2_ami_copy.py plugins/modules/ec2_asg.py plugins/modules/ec2_launch_template.py plugins/modules/ec2_transit_gateway.py plugins/modules/ec2_transit_gateway_info.py plugins/modules/ec2_vpc_peer.py plugins/modules/ecs_ecr.py plugins/modules/ecs_service.py plugins/modules/ecs_task.py plugins/modules/ecs_taskdefinition.py plugins/modules/efs.py plugins/modules/efs_info.py plugins/modules/elb_target_group.py plugins/modules/iam_role.py plugins/modules/lambda.py plugins/modules/rds_instance.py plugins/modules/sqs_queue.py ADDITIONAL INFORMATION Depends-on: ansible-collections/amazon.aws#442 Depends-on: ansible-collections/amazon.aws#446 Reviewed-by: Markus Bergholz <[email protected]> Reviewed-by: Alina Buzachis <None> Reviewed-by: None <None>
jillr
pushed a commit
to jillr/amazon.aws
that referenced
this pull request
Aug 20, 2021
* Move ec2_vpc_route_table tests into group 4 * ec2_vpc_route_table - Use retries more consistently. * ec2_vpc_route_table_info - boto3 migration * changelog * Add return value documentation * catch WaiterError for cleaner error messages This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@dfb20a3
jillr
pushed a commit
to jillr/amazon.aws
that referenced
this pull request
Aug 26, 2021
* Move ec2_vpc_route_table tests into group 4 * ec2_vpc_route_table - Use retries more consistently. * ec2_vpc_route_table_info - boto3 migration * changelog * Add return value documentation * catch WaiterError for cleaner error messages This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@dfb20a3
jillr
pushed a commit
to jillr/amazon.aws
that referenced
this pull request
Aug 27, 2021
* Move ec2_vpc_route_table tests into group 4 * ec2_vpc_route_table - Use retries more consistently. * ec2_vpc_route_table_info - boto3 migration * changelog * Add return value documentation * catch WaiterError for cleaner error messages This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@dfb20a3
abikouo
pushed a commit
to abikouo/amazon.aws
that referenced
this pull request
Sep 18, 2023
* Move ec2_vpc_route_table tests into group 4 * ec2_vpc_route_table - Use retries more consistently. * ec2_vpc_route_table_info - boto3 migration * changelog * Add return value documentation * catch WaiterError for cleaner error messages
abikouo
pushed a commit
to abikouo/amazon.aws
that referenced
this pull request
Sep 18, 2023
Cleanup boto3/botocore dependencies - remove tests for unsupported versions SUMMARY Testing for boto3/botocore support on specific functions is very inconsistent. Now that we have minimum supported versions we can drop the tests for previous versions. ISSUE TYPE Feature Pull Request COMPONENT NAME plugins/modules/aws_eks_cluster.py plugins/modules/aws_msk_cluster.py plugins/modules/aws_msk_config.py plugins/modules/cloudformation_stack_set.py plugins/modules/dynamodb_table.py plugins/modules/dynamodb_ttl.py plugins/modules/ec2_ami_copy.py plugins/modules/ec2_asg.py plugins/modules/ec2_launch_template.py plugins/modules/ec2_transit_gateway.py plugins/modules/ec2_transit_gateway_info.py plugins/modules/ec2_vpc_peer.py plugins/modules/ecs_ecr.py plugins/modules/ecs_service.py plugins/modules/ecs_task.py plugins/modules/ecs_taskdefinition.py plugins/modules/efs.py plugins/modules/efs_info.py plugins/modules/elb_target_group.py plugins/modules/iam_role.py plugins/modules/lambda.py plugins/modules/rds_instance.py plugins/modules/sqs_queue.py ADDITIONAL INFORMATION Depends-on: ansible-collections#442 Depends-on: ansible-collections#446 Reviewed-by: Markus Bergholz <[email protected]> Reviewed-by: Alina Buzachis <None> Reviewed-by: None <None>
abikouo
pushed a commit
to abikouo/amazon.aws
that referenced
this pull request
Sep 18, 2023
* Move ec2_vpc_route_table tests into group 4 * ec2_vpc_route_table - Use retries more consistently. * ec2_vpc_route_table_info - boto3 migration * changelog * Add return value documentation * catch WaiterError for cleaner error messages
abikouo
pushed a commit
to abikouo/amazon.aws
that referenced
this pull request
Oct 24, 2023
* Move ec2_vpc_route_table tests into group 4 * ec2_vpc_route_table - Use retries more consistently. * ec2_vpc_route_table_info - boto3 migration * changelog * Add return value documentation * catch WaiterError for cleaner error messages
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
community_review
feature
This issue/PR relates to a feature request
integration
tests/integration
module_utils
module_utils
module
module
needs_triage
plugins
plugin (any type)
tests
tests
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
Rather than checking that we support (old) boto3/botocore features, emit a warning if botocore/boto3 are less than the supported versions.
ISSUE TYPE
COMPONENT NAME
plugins/module_utils/core.py
plugins/modules/aws_s3.py
plugins/modules/cloudformation.py
plugins/modules/ec2_group.py
plugins/modules/ec2_instance.py
plugins/modules/ec2_instance_info.py
plugins/modules/ec2_vpc_subnet.py
plugins/modules/s3_bucket.py
ADDITIONAL INFORMATION